Leat\Logger A

Total Complexity 58
Dependencies 8
Dependents 55
Total lines 492
Lines of code 243
Logical lines of code 115
Comment lines 181
Methods 21
Properties 2

Methods 21

Method Rating Maintainability Complexity Lines of code
get_logs()
A
49 8 30
get_instance()
S
48 6 35
parse_log_line()
S
48 6 35
get_log_level()
S
54 6 21
get_retention_days()
S
67 6 6
log_api_response()
S
54 4 21
clear_logs()
S
61 4 12
add_wordpress_context()
S
57 3 16
protect_log_directory()
S
60 3 13
log_product_processing()
S
62 1 13
log_api_request()
S
63 1 11
should_log()
S
81 1 3
debug()
S
79 1 3
info()
S
79 1 3
warning()
S
79 1 3
error()
S
79 1 3
critical()
S
79 1 3
alert()
S
79 1 3
emergency()
S
79 1 3
notice()
S
79 1 3
get_logs_count()
S
80 1 3